home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / unarced / graphics / pbmplus / pnm / pnmshear.man < prev    next >
Text File  |  1995-03-17  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      pnmshear(1)          AMIGA (12 January 1991)          pnmshear(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           pnmshear - shear a portable anymap by some angle
  10.  
  11.      SYNOPSIS
  12.           pnmshear [-noantialias] angle [pnmfile]
  13.  
  14.      DESCRIPTION
  15.           Reads a portable anymap as input.  Shears it by the
  16.           specified angle and produces a portable anymap as output.
  17.           If the input file is in color, the output will be too,
  18.           otherwise it will be grayscale.  The angle is in degrees
  19.           (floating point), and measures this:
  20.               +-------+  +-------+
  21.               |       |  |\       \
  22.               |  OLD  |  | \  NEW  \
  23.               |       |  |an\       \
  24.               +-------+  |gle+-------+
  25.           If the angle is negative, it shears the other way:
  26.               +-------+  |-an+-------+
  27.               |       |  |gl/       /
  28.               |  OLD  |  |e/  NEW  /
  29.               |       |  |/       /
  30.               +-------+  +-------+
  31.           The angle should not get too close to 90 or -90, or the
  32.           resulting anymap will be unreasonably wide.
  33.  
  34.           The shearing is implemented by looping over the source
  35.           pixels and distributing fractions to each of the destination
  36.           pixels.  This has an "anti-aliasing" effect - it avoids
  37.           jagged edges and similar artifacts.  However, it also means
  38.           that the original colors or gray levels in the image are
  39.           modified.  If you need to keep precisely the same set of
  40.           colors, you can use the -noantialias flag.  This does the
  41.           shearing by moving pixels without changing their values.  If
  42.           you want anti-aliasing and don't care about the precise
  43.           colors, but still need a limited *number* of colors, you can
  44.           run the result through ppmquant.
  45.  
  46.           All flags can be abbreviated to their shortest unique
  47.           prefix.
  48.  
  49.      SEE ALSO
  50.           pnmrotate(1), pnmflip(1), pnm(5), ppmquant(1)
  51.  
  52.      AUTHOR
  53.           Copyright (C) 1989, 1991 by Jef Poskanzer.
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/19/91)
  64.  
  65.  
  66.  
  67.